package com.joinDemo;

/**
 * @Auther: zch
 * @Date: 2019/1/19 14:30
 * @Description:
 */
public class MyThread implements Runnable {
    @Override
    public void run() {
        int secondValue = (int) (Math.random() * 10000);
        System.out.println(secondValue);
        try {
            Thread.sleep(secondValue);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
